<?php
if(!defined('IN_KEKE')) {
	exit('Access Denied');
}

$prom_obj = new Keke_witkey_prom_relation_class();
 

$where = " uid = '$uid' ";

$slt_page_size = intval ( $slt_page_size ) ? intval ( $slt_page_size ) :10;

$prom_obj->setWhere ( $where );
$count = $prom_obj->count_keke_witkey_prom_relation();


$url = "index.php?do=$do&view=$view&slt_page_size=$slt_page_size&page=$page";
$page = $_GET ['page'] ? $_GET ['page'] : 1;
$limit = $slt_page_size;
$pages = $page_obj->getPages ( $count, $limit, $page, $url );


$prom_obj->setWhere ( $where . $pages [where] );
$invite_arr=$prom_obj->query_keke_witkey_prom_relation();


require_once keke_tpl_class::template ($do."_".$view);